/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2021-09-02 14:06:26
 * @LastEditors: sueRimn
 * @LastEditTime: 2021-09-05 15:23:24
 */
// app/router.js
module.exports = app => {
    app.router.redirect('/', '/swagger-ui.html' , 302); //重定向到swagger-ui.html
    // socket.io
    // app.io.of('/')
    // app.io.route('chat', app.io.controller.chat.index);

    // app.io.of('/chat')
    // app.io.of('/chat').route('chat', app.io.controller.chat.index);
}
